package com.manage.platform.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.manage.platform.dto.query.PositionPageQuery;
import com.manage.platform.entity.PositionEntity;
import com.manage.platform.vo.CommonVo;
import com.manage.platform.vo.PositionVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * YWD
 * 2025/9/24
 */
@Mapper
public interface PositionMapper extends BaseMapper<PositionEntity> {

    List<PositionVo> getPositionPage(@Param("query") PositionPageQuery query);

    PositionVo getPositionDetails(@Param("id") Long id);

    List<CommonVo> getPositionList(@Param("name") String name);

}
